package com.java.dao;

import com.java.model.Apply;
import com.java.model.Status;

import java.util.List;

public interface ApplyMapper {

    /** 查询投放申请单 **/
    List<Apply> applyList(Apply apply);

    /** 查询投放预约单 **/
    List<Apply> forwardList(Apply apply);

    /** 查询我的订单 **/
    List<Apply> applyList2(Apply apply);

    /** 正在投放 **/
    List<Apply> putList(Apply apply);

    /** 已完成 **/
    List<Apply> performanceList(Apply apply);

    /*将冻结余额和余额进行扣除*/
    void deMany(Apply apply);

    void deMany2(Apply apply);

    /*自媒体同意用户审核申请单*/
    void yes(Apply apply);

    /*管理员同意用户投放申请单*/
    void yes2(Apply apply);

    /* 判断自媒体用户是否同时接受多个订单 */
    List<Apply> order(Apply apply);

    /*自媒体拒绝用户审核申请单*/
    void no(int id);

    List<Apply> adminList(Apply apply);

    /*将投放内容存入后台*/
    void save(Apply apply);

    /*将投放价格变为冻结余额*/
    void upMany(Apply apply);

    /*可用余额-冻结余额*/
    void blist(Apply apply);
}
